#include "precompiled.h"
#include "svl_TVisitorTest.h"
using namespace svl;

//
void TVisitorTest::Test()
{
  TNode *Node;
  TNode1 Node1;
  TNode2 Node2;

  Node = &Node2;
  Node->Accept(TVisitor1(222));

  Node = &Node1;
  Node->Accept(TVisitor1(111));
}

/*********************
//
void TVisitorTestEx::Test()
{
  TNode *Node;
  TNode1 Node1;
  TNode2 Node2;

  Node = &Node2;
  Node->AcceptEx(TVisitor1(222));

  Node = &Node1;
  Node->AcceptEx(TVisitor1(111));
}
**************************/